package shapewar.view.myview;

import shapewar.conf.Conf;
import android.graphics.BlurMaskFilter;
import android.graphics.EmbossMaskFilter;
import android.graphics.SumPathEffect;

public class PaintFilter {
	public static EmbossMaskFilter getMaskFilter(){
		float []direction = new float[]{10, 10, 10};
		float ambient = 0.5f;
		float specular = 1;
		float blurRadius = 1;
		EmbossMaskFilter filter = new EmbossMaskFilter(direction, ambient, specular, blurRadius);
		return filter;
	}
	
	public static BlurMaskFilter getLightFilter(){
		BlurMaskFilter filter = new BlurMaskFilter(Conf.SIZE*10f,BlurMaskFilter.Blur.SOLID);
		return filter;
	}
}
